package com.dy.design_pattern_study.builder_pattern.dome1;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-03-28
 * @Content 建造者模式 -画小人的接口
 */
public abstract class PersonBuilder {
    protected String g;
    protected String p;

    public PersonBuilder(String g, String p) {
        this.g = g;
        this.p = p;
        System.out.println("传入画图工具: " + g);
        System.out.println("传入画笔 -颜色: " + p);
    }

    public abstract void BuildHead();

    public abstract void BuildBody();

    public abstract void BuildArmLeft();

    public abstract void BuildArmRight();

    public abstract void BuildLegLeft();

    public abstract void BuildLegRight();
}
